module.exports = function($scope, $state, $stateParams, $modalInstance, $resource,$modal,items){
    $scope.obj = items;
};